package com.zhiyou.dao;

import com.zhiyou.model.FlatPlay;
import com.zhiyou.util.PageBean;

public interface PlayDao {
		//查询所有
		PageBean<FlatPlay> findAll(int pc,int ps);
		//根据id查询单个
		FlatPlay findById(int id);
		//根据ID删除一个数据
		boolean delete(int id);
		//根据id修改单个
		boolean update(FlatPlay flatPlay);
		//添加一个角色信息
		boolean add(FlatPlay flatPlay);
		//批量删除
		int[] dels(int id[]);
		//多条件查询
		PageBean<FlatPlay> find(String place,String organizer, int pc,int ps);
}
